Refactor AMU support for Cortex A75
authorDimitris Papastamos <[email protected]>
Wed, 14 Feb 2018 10:28:36 +0000 (10:28 +0000)
committerDimitris Papastamos <[email protected]>
Tue, 27 Feb 2018 13:28:41 +0000 (13:28 +0000)
commitf06890ea89f6c20f5d4619ba3d108c43d5d89b18
treeb7bb9c3f13e311e6b3341f13f162ed26ae172e0c
parenta2e702a2f3ffb9c90263285d333a2107cfb43fc4
Refactor AMU support for Cortex A75

This patch also fixes the assumption that the counters are disabled on
the resume path.  This is incorrect as the AMU counters are enabled
early in the CPU reset function before `cpuamu_context_restore()`
runs.

Change-Id: I38a94eb166a523f00de18e86860434ffccff2131
Signed-off-by: Dimitris Papastamos <[email protected]>
include/lib/cpus/aarch64/cortex_a75.h
include/lib/cpus/aarch64/cpuamu.h
lib/cpus/aarch64/cortex_a75.S
lib/cpus/aarch64/cortex_a75_pubsub.c
lib/cpus/aarch64/cpuamu.c [new file with mode: 0644]
plat/arm/board/fvp/platform.mk